package com.example.gbq.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;


/**
 * 创建队列接受接收者
 */
//@RestController
//public class RabbitProcessController {
//
//    @Resource
//    private ReceiverConfig receiverConfig;
//
//    @GetMapping("/getRabbit")
//    public String process() {
//        System.out.println("Receiver : " + ReceiverConfig.nn);
//        return "发送的消息为："+ReceiverConfig.nn;
//    }
//
//
//}
